package com.ruoyi.project.park.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 停车收费标准对象 biz_fee_standard
 * 
 * @author ruoyi
 * @date 2024-04-08
 */
public class BizFeeStandard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 停车场编号 */
    @Excel(name = "停车场编号")
    private String parkId;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String vehicleType;

    /** 首次停车免费时长（小时） */
    @Excel(name = "首次停车免费时长", readConverterExp = "小=时")
    private Long initialFreeHours;

    /** 每小时收费金额（单位：元） */
    @Excel(name = "每小时收费金额", readConverterExp = "单=位：元")
    private BigDecimal hourlyRate;

    /** 超时宽限分钟数 */
    @Excel(name = "超时宽限分钟数")
    private Integer gracePeriodMinutes;

    /** 固定收费金额 */
    @Excel(name = "固定收费金额")
    private BigDecimal feeAmount;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setParkId(String parkId) 
    {
        this.parkId = parkId;
    }

    public String getParkId() 
    {
        return parkId;
    }
    public void setVehicleType(String vehicleType) 
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType() 
    {
        return vehicleType;
    }
    public void setInitialFreeHours(Long initialFreeHours) 
    {
        this.initialFreeHours = initialFreeHours;
    }

    public Long getInitialFreeHours() 
    {
        return initialFreeHours;
    }
    public void setHourlyRate(BigDecimal hourlyRate) 
    {
        this.hourlyRate = hourlyRate;
    }

    public BigDecimal getHourlyRate() 
    {
        return hourlyRate;
    }
    public void setGracePeriodMinutes(Integer gracePeriodMinutes) 
    {
        this.gracePeriodMinutes = gracePeriodMinutes;
    }

    public Integer getGracePeriodMinutes() 
    {
        return gracePeriodMinutes;
    }
    public void setFeeAmount(BigDecimal feeAmount) 
    {
        this.feeAmount = feeAmount;
    }

    public BigDecimal getFeeAmount() 
    {
        return feeAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parkId", getParkId())
            .append("vehicleType", getVehicleType())
            .append("initialFreeHours", getInitialFreeHours())
            .append("hourlyRate", getHourlyRate())
            .append("gracePeriodMinutes", getGracePeriodMinutes())
            .append("feeAmount", getFeeAmount())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
